﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="ChiTietSachhay.aspx.cs" Inherits="ChiTietSachhay" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title><asp:Literal runat="server" ID="littieude"></asp:Literal> | <%= Common.home %></title>
    <script type="text/javascript" src="../fmslideshow_assets/jquery-1.6.2.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:HiddenField ID="H_SachId" Value="0" runat="server" />
    <asp:HiddenField ID="H_TieuDe" Value="" runat="server" />
    <span class="path_chude">
        <asp:HyperLink ID="Hyperlink13" CssClass="icon_sub" runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink>
    </span><span class="path_chude">
        <asp:HyperLink ID="Hyperlink1" CssClass="icon_sub" runat="server" NavigateUrl="#">
            <asp:Label ID="lblTenSachtop" runat="server" Text=""></asp:Label>
        </asp:HyperLink></span>
    <div class="detail_content">
        <div class="detail_content_top">
        </div>
        <div class="detail_content_mid">
            <div class="detail_content_mid_content">
                <center>
                    <table cellpadding="0" cellspacing="0" width="95%" border="0" class="new_small_SachHay">
                        <tr>
                            <td valign="top" style="padding-left: 20px" width="220px;">
                                <asp:HyperLink ID="HyperLink32" NavigateUrl='<%#"~/sachhay/" + Eval("Id") + "_" + GetTieuDe(Eval("TenSach")) + ".aspx"%>'
                                    runat="server">
                                    <asp:Image runat="server" ID="Image1" BorderWidth="0" Width="185" Height="250px" ImageUrl='<%# Common.sPathUpSachHay + Eval("AnhDaiDien") %>'
                                        CssClass="show_images" />
                                </asp:HyperLink>
                            </td>
                            <td valign="top">
                                <asp:HyperLink CssClass="lienket_sach_hay" ID="lblTenSach" NavigateUrl='<%#"~/sachhay/" + Eval("Id") + "_" + GetTieuDe(Eval("TenSach")) + ".aspx"%>'
                                    runat="server">
                                </asp:HyperLink>
                                <br />
                                Thể loại: <span class="Sachhay_bold">
                                    <asp:Label ID="lblTheLoai" runat="server" Text=""></asp:Label></span>
                                <br />
                                Nhà xuất bản: <span class="Sachhay_bold">
                                    <asp:Label ID="lblNhaXuatBan" runat="server" Text=""></asp:Label></span>
                                <br />
                                Hình thức bìa: <span class="Sachhay_bold">
                                    <asp:Label ID="lblHinhThuc" runat="server" Text=""></asp:Label></span>
                                <br />
                                Ngày Đăng: <span class="Sachhay_bold">
                                    <asp:Label ID="lblNgayXuatBan" runat="server" Text=""></asp:Label></span>
                                <br />
                                Tác giả: <span class="Sachhay_bold">
                                    <asp:Label ID="lblTacGia" runat="server" Text=""></asp:Label></span>
                                <br />
                                Số Trang: <span class="Sachhay_bold">
                                    <asp:Label ID="lblSoTrang" runat="server" Text=""></asp:Label></span>
                                <br />
                                Kích thước: <span class="Sachhay_bold">
                                    <asp:Label ID="lblKichThuoc" runat="server" Text=""></asp:Label></span>
                                <br />
                                Trọng Lượng: <span class="Sachhay_bold">
                                    <asp:Label ID="lbltrongLuong" runat="server" Text=""></asp:Label></span>
                                <br />
                                <span style="font-weight: bold" class="Sachhay_giabia">Giá bìa:
                                    <asp:Label ID="lblGiaBia" runat="server" Text=""></asp:Label>
                                    <%--<%# String.Format("{0:###,###,##0}",Eval("GiaBan")) %>--%>VND </span>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-top: 20px; padding-left: 20px">
                                <!-- AddThis Button BEGIN -->
                                <asp:ImageButton ID="facebook" CausesValidation="false" ImageUrl="~/Images/button_facebook.png"
                                    runat="server" OnClick="cmdFacebook_Click" />
                                <asp:ImageButton ID="twiter" CausesValidation="false" ImageUrl="~/Images/button_fw.png"
                                    runat="server" OnClick="cmdTwiter_Click" />
                                <asp:ImageButton ID="yahoo" CausesValidation="false" ImageUrl="~/Images/button_yahoo.png"
                                    runat="server" OnClick="cmdYahoo_Click" />
                                <asp:ImageButton ID="email" CausesValidation="false" ImageUrl="~/Images/button_mail.png"
                                    runat="server" OnClick="cmdEmail_Click" />
                                <asp:ImageButton ID="ImageButton1" CausesValidation="false" ImageUrl="~/Images/button_zing.png"
                                    runat="server" OnClick="cmdZing_Click" />
                                <!-- AddThis Button END -->
                            </td>
                        </tr>
                    </table>
                </center>
                <!--End #detail_new-->
                <div class="detail_new_chitiet" style="text-align: justify; padding: 20px">
                    <asp:Label ID="lblNoiDungTin" CssClass="text_content" runat="server" Text=""></asp:Label>
                </div>
                <div class="form_comment">
                    <div class="comment">
                        <div class="fb-comments" data-href='<%=Common.sPathUpLienKet + HttpContext.Current.Request.Url.AbsolutePath.ToString()%>'
                            data-width="590" data-num-posts="10">
                        </div>
                    </div>
                </div>
                <!--End #form_comment-->
                <div class="user_comment_khung">
                    <div class="tinlienquan">
                        <div class="tinlienquan_mid">
                            <span class="tinlienquan_label">Tin tức liên quan:</span>
                            <p class="user_comment_gachngang">
                            </p>
                            <ul>
                                <li>
                                    <asp:DataList ID="dlLoaiTinTuc" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
                                        Width="100%">
                                        <ItemTemplate>
                                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td style="padding-left: 20px">
                                                        <asp:HyperLink ID="TieuDeTin" NavigateUrl='<%#"~/sachhay/" + Eval("Id") + "_" + GetTieuDe(Eval("TenSach")) + ".aspx"%>'
                                                            runat="server"><%# Eval("TenSach")%></asp:HyperLink>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                    </asp:DataList></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="detail_content_bottom" style="text-align: right">
        </div>
    </div>
</asp:Content>
